package cn.net.nit.track.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 日期工具类
 * 
 * @author hua
 * @version 1.0 2013-4-20
 */
public class DateFormatUtil {

	public static String formatDate(Date date) {
		
		if (date == null) 
			return "";
		
		SimpleDateFormat f = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
		return f.format(date);
	}

}
